package cn.aopmin.listener;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.context.ApplicationEvent;

/**
 *
 * @author 白豆五
 * @since 2025/4/6
 */
@Getter
@Setter
@Accessors(chain = true)
public class DemoEvent extends ApplicationEvent {

    private String message;
    private int type;

    public DemoEvent(Object source, String message, int type) {
        super(source);
        this.message = message;
        this.type = type;
    }

}